# Makefile
PYTHONPATH := $(CURDIR)

.PHONY: build-env
build-env:
	@if ! command -v pipenv &> /dev/null; then \
		echo "Installing pipenv..."; \
		pip install pipenv; \
	fi
	pipenv install

.PHONY: start-dev
start-dev:
	cd app && PYTHONPATH=$(PYTHONPATH) pipenv run python main.py